package com.ctg.itrdc.sysmgr.portal.api.dto;

import java.io.Serializable;
import java.sql.Timestamp;

import com.ctg.itrdc.pasp.core.DTO;


public class PrivGrantDTO extends BaseDTO implements Serializable {
	private static final long serialVersionUID = 1598179584838497003L;

	/**
	 * 授权标识，主键
	 */
	private Long privGrantId;

	/**
	 * 权限标识
	 */
	private Long privId;

	/**
	 * 授权管理分类，LOVB，分为：管理权限、使用权限；‘管理权限’包含了‘使用权限’；
	 */
	private String manageClass;

	/**
	 * 创建人
	 */
	private Long createStaff;

	/**
	 * 修改时间
	 */
	private Timestamp updateDate;

	/**
	 * 授权对象标识，根据授权对象类型，区分是系统用户ID、系统岗位ID、角色ID
	 */
	private Long grantObjId;

	/**
	 * 生效时间
	 */
	private Timestamp effDate;

	/**
	 * 状态时间
	 */
	private Timestamp statusDate;

	/**
	 * 租户标识。
	 */
	private Long tenantId;

	/**
	 * 分片键1，固定值-1。
	 */
	private Long shard1;

	/**
	 * 修改人
	 */
	private Long updateStaff;

	/**
	 * 失效时间
	 */
	private Timestamp expDate;

	/**
	 * 分片键2，固定值-1。
	 */
	private Long shard2;

	/**
	 * 功能权限标识，标识数据权限的上级为功能权限
	 */
	private Long parPrivId;

	/**
	 * 授权对象类型，区分是系统用户、系统岗位、系统角色
	 */
	private String grantObjType;

	/**
	 * 授权权限类型
	 */
	private String grantPrivType;

	/**
	 * 状态
	 */
	private String statusCd;

	/**
	 * 关联功能权限类型，LOVB
	 */
	private String parFuncPrivType;

	/**
	 * 创建时间
	 */
	private Timestamp createDate;

	/**
	 * 授权操作类型，LOVB，区分是：ADD包含、DEL去除
	 */
	private String operType;

	/**
	 * 记录系统用户的主键。
	 */
	private Long sysUserId;


	public void setPrivGrantId(Long privGrantId){
		this.privGrantId = privGrantId;
	}

	public Long getPrivGrantId(){
		return this.privGrantId;
	}

	public void setPrivId(Long privId){
		this.privId = privId;
	}

	public Long getPrivId(){
		return this.privId;
	}

	public void setManageClass(String manageClass){
		this.manageClass = manageClass;
	}

	public String getManageClass(){
		return this.manageClass;
	}

	public void setCreateStaff(Long createStaff){
		this.createStaff = createStaff;
	}

	public Long getCreateStaff(){
		return this.createStaff;
	}

	public void setUpdateDate(Timestamp updateDate){
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate(){
		return this.updateDate;
	}

	public void setGrantObjId(Long grantObjId){
		this.grantObjId = grantObjId;
	}

	public Long getGrantObjId(){
		return this.grantObjId;
	}

	public void setEffDate(Timestamp effDate){
		this.effDate = effDate;
	}

	public Timestamp getEffDate(){
		return this.effDate;
	}

	public void setStatusDate(Timestamp statusDate){
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate(){
		return this.statusDate;
	}

	public void setTenantId(Long tenantId){
		this.tenantId = tenantId;
	}

	public Long getTenantId(){
		return this.tenantId;
	}

	public void setShard1(Long shard1){
		this.shard1 = shard1;
	}

	public Long getShard1(){
		return this.shard1;
	}

	public void setUpdateStaff(Long updateStaff){
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff(){
		return this.updateStaff;
	}

	public void setExpDate(Timestamp expDate){
		this.expDate = expDate;
	}

	public Timestamp getExpDate(){
		return this.expDate;
	}

	public void setShard2(Long shard2){
		this.shard2 = shard2;
	}

	public Long getShard2(){
		return this.shard2;
	}

	public void setParPrivId(Long parPrivId){
		this.parPrivId = parPrivId;
	}

	public Long getParPrivId(){
		return this.parPrivId;
	}

	public void setGrantObjType(String grantObjType){
		this.grantObjType = grantObjType;
	}

	public String getGrantObjType(){
		return this.grantObjType;
	}

	public void setGrantPrivType(String grantPrivType){
		this.grantPrivType = grantPrivType;
	}

	public String getGrantPrivType(){
		return this.grantPrivType;
	}

	public void setStatusCd(String statusCd){
		this.statusCd = statusCd;
	}

	public String getStatusCd(){
		return this.statusCd;
	}

	public void setParFuncPrivType(String parFuncPrivType){
		this.parFuncPrivType = parFuncPrivType;
	}

	public String getParFuncPrivType(){
		return this.parFuncPrivType;
	}

	public void setCreateDate(Timestamp createDate){
		this.createDate = createDate;
	}

	public Timestamp getCreateDate(){
		return this.createDate;
	}

	public void setOperType(String operType){
		this.operType = operType;
	}

	public String getOperType(){
		return this.operType;
	}

	public void setSysUserId(Long sysUserId){
		this.sysUserId = sysUserId;
	}

	public Long getSysUserId(){
		return this.sysUserId;
	}

	public Long getId() {
		return privGrantId;
	}
	
	public void setId(Long id) {
		this.privGrantId = id;
	}
    
	public PrivGrantDTO() {
		super();
    }
}
